﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace CRM.BLL.Role
{
    public class UsersB
    {
        #region Users
        /// <summary>
        /// 获取Users信息
        /// </summary>
        public DataTable GetUsers(ref CRM.MODEL.GetUsers stu)
        {
            CRM.DAL.Role.UsersD obj = new DAL.Role.UsersD();
            DataTable dt = obj.ExecuteGetUsers(ref stu);
            obj.Dispose();
            return dt;
        }

        /// <summary>
        /// 编辑Users信息
        /// </summary>
        public int EditUsers(ref CRM.MODEL.EditUsers stu)
        {

            CRM.DAL.Role.UsersD obj = new DAL.Role.UsersD();
            int effectRow = obj.ExecuteEditUsers(ref stu);
            obj.Dispose();
            return effectRow;
        }
        #endregion
    }
}
